import request from '@/api/request'

export function findAllPermissions() {
  return request({
    url: `/admin/sysAuth/permission/findAllPermissions`
  })
}

export function save(data) {
  return request({
    url: `/admin/sysAuth/permission/save`,
    method: "post",
    data
  })
}
